package com.beta.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("confirmation_codes")
public class ConfirmationCodes implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private String phone;

	/**  */
	private String code;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;

	/**  */
	private String codeType;


	public Integer getId() {
		return this.id;
	}

	public ConfirmationCodes setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getPhone() {
		return this.phone;
	}

	public ConfirmationCodes setPhone(String phone) {
		this.phone = phone;
		return this;
	}

	public String getCode() {
		return this.code;
	}

	public ConfirmationCodes setCode(String code) {
		this.code = code;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public ConfirmationCodes setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public ConfirmationCodes setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

	public String getCodeType() {
		return this.codeType;
	}

	public ConfirmationCodes setCodeType(String codeType) {
		this.codeType = codeType;
		return this;
	}

}
